@import url('./vars.less');
body,
html,
ul,
tr,
th,
td {
    padding: 0;
    margin: 0
}

li {
    list-style: none
}

table {
    border-collapse: collapse
}
table{
    width: 100%;
    text-align: center;
    color:@yhTextColorL;
    font-size: @yhTextS;
    tr{
        th{
            padding-top: 5px;
            padding-bottom: 5px;
            border: 1px solid @yhBorderColor;
            background-color: rgba(245, 230, 248, 0.7);
        }
        td{
            padding-top: 5px;
            padding-bottom: 5px;
            border: 1px solid @yhBorderColor;
            &:first-of-type{
                background-color: rgba(245, 230, 248, 0.7);
            }
        }
    }
}
img {
    display: block
}

.w-100 {
    width: 100%
}

.bgWhite {
    background-color: @yhWhiteColor
}

.verticalHalfDivider {
    height: 50%;
    width: 1px;
    background-color: @yhDividerColor
}

.verticalFullDivider {
    width: 1px;
    background-color: @yhDividerColor;
    align-self: stretch;
}

.horizontalFullDivider {
    width: 100%;
    height: 1px;
    background-color: @yhDividerColor
}

.containerWithNav {
    padding-top: 0;
}

.fixedTabs {
    .am-tabs-tab-bar-wrap {
        position: fixed;
        z-index: 1000;
        width: 100%;
    }
    .am-tabs-content-wrap {
        padding-top: 43.5px;
    }
}

.subTitleIcon {
    height: 12px;
    width: 4px;
    border-radius: 2px;
    margin-right: @yhSpaceMd
}

.subtitle {
    font-size: @yhTextM;
    color: @yhTextColorD;
    .end {
        justify-content: flex-end;
        flex-grow: 1;
        text-align: right;
    }
    .emphasize {
        font-size: @yhTextS;
        color: @yhPrimaryColor;
    }
    .second {
        margin-left: @yhSpaceXl;
    }
}

.subtitleWithPadding {
    .subtitle;
    padding: @yhSpaceXl @yhSpaceLg @yhSpaceLg @yhSpaceLg;
}

.circlePoint {
    width: 6px;
    height: 6px;
    border-radius: 6px;
    margin-right: @yhSpaceMd
}

.blockContainer {
    padding: @yhSpaceXl @yhSpaceLg
}

.typeTab {
    font-size: @yhTextM;
    color: @yhTextColorL;
    margin-left: @yhSpaceSm;
    &.active {
        color: white;
        background-color: @yhPrimaryColor;
    }
}
.am-card-header {
    font-size: 14px;
    padding: 12px 16px;
}
.am-card-body{
    padding: 0px;
}

.am-card-header-extra {
    font-size: 13px;
    color: #888;
    .am-icon-md {
        margin-top: 2px;
    }
}

.listTable {
    .title {
        min-width: 80px;
        li {
            height: 40px;
            line-height: 40px;
            text-align: center;
            background-color: white;
            font-size: @yhTextS;
            color: @yhTextColorD;
            &:first-child {
                color: @yhTextColorL;
            }
            &:nth-child(2n) {
                background-color: @yhListBg;
            }
        }
    }
    .content {
        overflow: scroll;
        tr {
            height: 40px;
            line-height: 40px;
            text-align: center;
            background-color: white;
            font-size: @yhTextS;
            color: @yhTextColorM;
            &:first-child {
                color: @yhTextColorL;
            }
            &:nth-child(2n) {
                background-color: @yhListBg;
            }
            td {
                min-width: 60px;
            }
        }
    }
}

.listTableWithMore {
    flex-direction: column;
    .checkMore {
        padding: @yhSpaceMd 0;
        font-size: @yhTextM;
        color: @yhTextColorM;
    }
}

.stickyTable {
    @lineHeight:40px;
    display: flex;
    font-size: @yhTextS;
    th {
        color: @yhTextColorL;
        background-color: white;
    }
    tr {
        height: @lineHeight;
        background-color: white;
        &:nth-child(2n - 1) {
            background-color: @yhListBg;
        }
    }
    .leftDiv {
        width: 75px;
        flex: 0 0 auto;
        .leftDivTop {
            width: 100%;
            table {
                width: 100%;
            }
        }
        .leftDivBottom {
            width: 100%;
            height: calc(~"100% - " @lineHeight);
            overflow: hidden;
            table {
                width: 100%;
                text-align: center;
                color: @yhTextColorD;
            }
        }
    }
    .rightDiv {
        width: 80vw;
        .rightDivTop {
            width: 100%;
            overflow: hidden;
            th {
                min-width: 75px;
            }
        }
        .rightDivBottom {
            text-align: center;
            width: 100%;
            height: calc(~"100% - " @lineHeight);
            overflow: auto;
            tr {
                color: @yhTextColorM;
            }
            td {
                min-width: 75px;
            }
        }
    }
    
}